package com.sqlSession;

import com.pojo.Configuration;
import com.pojo.MappedStatement;

import java.util.List;

/**
 * Created with IDEA by ChouFy on 2020/2/20.
 *
 * @author Zhoufy
 */
public interface Executor {


    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... arguments) throws  Exception;

    int update(Configuration configuration, MappedStatement mappedStatement, Object... arguments) throws  Exception;

}
